package tree.operators;

public class PlusOp extends Op {
	
	public PlusOp()
	{
		this.arity = 2;		
	}	

	@Override
	public double evaluate(double inputValue, double[] args) 
	{
		return args[0] + args[1];
	}

	@Override
	public String toString() {
		return "+";
	}

}
